/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package pt.iscte.iul.dcti.pa.gspas.model;

/**
 *
 * @author Gedsimon Pereira - 58554
 * @contact gspas@iscte.pt
 *
 */
public class Grade {

    private Mark grade;
    private Assignment assignment;

    public Grade() {
    }

    public Grade(Mark grade, Assignment assignment) {
        this.grade = grade;
        this.assignment = assignment;
    }

    public Mark getGrade() {
        return grade;
    }

    public void setGrade(Mark grade) {
        this.grade = grade;
    }

    public Assignment getAssignment() {
        return assignment;
    }

    public void setAssignment(Assignment assignment) {
        this.assignment = assignment;
    }

    @Override
    public String toString() {
        return "Grade{" + "grade=" + grade + ", assignment=" + assignment + '}';
    }

    
}
